﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

namespace PathTracing
{
    public struct Plane
    {
        public Vector3 Origin;
        public Vector3 Normal;

        public Vector3 BaseColor;
        public Vector3 EmmisionColor;
        public float ReflectFactor;
        public float Roughess;
    }

    public struct Sphere
    {
        public Vector3 Origin;
        public float Radius;

        public Vector3 BaseColor;
        public Vector3 EmmisionColor;
        public float ReflectFactor;
        public float Roughess;
    }

    public struct DirectionLight
    {
        public Vector3 LightColor;
        public Vector3 LightDirection;
    }

    public struct TrianglePoint
    {
        public Vector3 Position;
        public Vector3 Normal;
    }

    public struct Triangle
    {
        public TrianglePoint P1;
        public TrianglePoint P2;
        public TrianglePoint P3;

        public Vector3 BaseColor;
        public Vector3 EmmisionColor;
        public float ReflectFactor;
        public float Roughess;
    }
}
 